home *** CD-ROM | disk | FTP | other *** search
- //PrintControls.js
- // Copyright (c) 1999 MGI Software Corp. All Rights Reserved
- // <Script>
-
- function GetPrintControlsHTML ()
- {
- var strHTML = "" ;
-
- /*
- * Printer List (150x24)
- */
- strHTML += "<B>Printer</B><BR>" ;
- strHTML += "<OBJECT ID='MGIComboBoxPrintersName' WIDTH=150 HEIGHT=24" ;
- strHTML += "< CLASSID='CLSID:9E5A3C80-FD5F-11D2-ACB6-0080C877D9B9'>" ;
- strHTML += "<PARAM NAME='WorkflowID' VALUE='file:/Resources/WorkflowsComponent|Common|PrintPreview.wkf'>" ;
- strHTML += "<PARAM NAME='WorkflowStep' VALUE=20>" ;
- // strHTML += "<PARAM NAME='BackgroundColor' VALUE='<MGITRANS ID=51050 COMMENT='106,172,174'>'>>" ;
- strHTML += "</OBJECT>" ;
-
- /*
- * Properties
- */
- strHTML += "<OBJECT ID='MGIPropertiesButton' WIDTH=100 HEIGHT=41" ;
- strHTML += "< CLASSID='CLSID:4FA211A0-FD53-11d2-ACB6-0080C877D9B9'>" ;
- strHTML += "<PARAM NAME='DisplayID' VALUE='file:/Resources/WorkflowsComponent|Common|stdgui.wkf'>" ;
- strHTML += "<PARAM NAME='DisplayStep' VALUE=50>" ;
- strHTML += "<PARAM NAME='DisplayIndex' VALUE=80>" ;
- strHTML += "<PARAM NAME='DriverID' VALUE='{4FA211A7-FD53-11d2-ACB6-0080C877D9B9},PrintPreview,3110'>" ;
- strHTML += "<PARAM NAME='NumStates' VALUE=4>" ;
- strHTML += "<PARAM NAME='Label' VALUE='Properties'>" ;
-
- strHTML += "<PARAM NAME='BackgroundMoniker' VALUE='file:/" ;
- // strHTML += top.gstrThemePath + "CPanelBkgrnd.PNG'>" ;
- strHTML += top.gstrThemePath + top.gstrMenuImage + "'>>" ; //"CPanelBkgrnd.PNG'>>" ;
-
- strHTML += "<PARAM NAME='ToolTipString' VALUE='Change printer properties'>" ;
- // strHTML += "<PARAM NAME='LabelRect' VALUE='<MGITRANS ID=51012 COMMENT='C,0.2,0.2,0.85,0.8'>'>" ;
- // strHTML += "<PARAM NAME='LabelColor' VALUE='<MGITRANS ID=51000 COMMENT='255,255,255'>'>" ;
- strHTML += "<PARAM NAME='SoundIDHover' VALUE='HoverSmall'>" ;
- strHTML += "<PARAM NAME='SoundIDClick' VALUE='ClickSmall'>" ;
- strHTML += "<PARAM NAME='UseDispatcher' VALUE='1'>>" ;
- strHTML += "</OBJECT>" ;
-
- /*
- * Orientation
- */
- strHTML += "<BR><B>Orientation</B><BR>" ;
- strHTML += "<OBJECT ID=Select2TB WIDTH=100 HEIGHT=35" ;
- strHTML += "< CLASSID='CLSID:13C9A8C0-FD5B-11D2-ACB6-0080C877D9B9'>" ;
- strHTML += "<PARAM NAME='WorkflowID' VALUE='file:/Resources/WorkflowsComponent|Common|B_PPOrientation.wkf'>" ;
- strHTML += "<PARAM NAME='WorkflowStep' VALUE=1>" ;
-
- strHTML += "<PARAM NAME='BackgroundMoniker' VALUE='file:/" ;
- // strHTML += top.gstrThemePath + "CPanelBkgrnd.PNG'>" ;
- strHTML += top.gstrThemePath + top.gstrMenuImage + "'>>" ; //"CPanelBkgrnd.PNG'>>" ;
-
- strHTML += "<PARAM NAME='CatalogEditorType' VALUE='HToolBar'>>" ;
- strHTML += "</OBJECT>" ;
-
- /*
- * Print Size List
- */
- strHTML += "<BR><BR><B>Print size</B><BR>" ;
- strHTML += "<OBJECT ID='MGIComboBoxPrintSize' WIDTH=145 HEIGHT=24" ;
- strHTML += "< CLASSID='CLSID:9E5A3C80-FD5F-11D2-ACB6-0080C877D9B9'>" ;
- strHTML += "<PARAM NAME='WorkflowID' VALUE='file:/Resources/WorkflowsComponent|Common|PrintPreview.wkf'>" ;
- strHTML += "<PARAM NAME='WorkflowStep' VALUE=22>" ;
- // strHTML += "<PARAM NAME='BackgroundColor' VALUE='<MGITRANS ID=51050 COMMENT='106,172,174'>'>>" ;
- strHTML += "</OBJECT><BR>" ;
-
- /*
- * Page size spin boxes
- */
- strHTML += "<OBJECT ID='MGIFloatEdit' WIDTH=53 HEIGHT=24 ALIGN=ABSMIDDLE" ;
- strHTML += "< CLASSID='CLSID:D46C47C0-FD76-11D2-ACB6-0080C877D9B9'>" ;
- strHTML += "<PARAM NAME='WorkflowID' VALUE='file:/Resources/WorkflowsComponent|Common|PrintPreview.wkf'>" ;
- strHTML += "<PARAM NAME='WorkflowStep' VALUE=32>" ;
- strHTML += "<PARAM NAME='Precision' VALUE=2>>" ;
- strHTML += "</OBJECT>" ;
-
- strHTML += "<OBJECT ID='MGIFloatEdit' WIDTH=53 HEIGHT=24 ALIGN=ABSMIDDLE" ;
- strHTML += "< CLASSID='CLSID:D46C47C0-FD76-11D2-ACB6-0080C877D9B9'>" ;
- strHTML += "<PARAM NAME='WorkflowID' VALUE='file:/Resources/WorkflowsComponent|Common|PrintPreview.wkf'>" ;
- strHTML += "<PARAM NAME='WorkflowStep' VALUE=33>" ;
- strHTML += "<PARAM NAME='Precision' VALUE=2>>" ;
- strHTML += "</OBJECT>" ;
-
- strHTML += "<OBJECT ID='MGIComboBoxUnits' WIDTH=39 HEIGHT=24 ALIGN=ABSMIDDLE" ;
- strHTML += "< CLASSID='CLSID:9E5A3C80-FD5F-11D2-ACB6-0080C877D9B9'>" ;
- strHTML += "<PARAM NAME='WorkflowID' VALUE='file:/Resources/WorkflowsComponent|Common|PrintPreview.wkf'>" ;
- strHTML += "<PARAM NAME='WorkflowStep' VALUE=21>" ;
- // strHTML += "<PARAM NAME='BackgroundColor' VALUE='<MGITRANS ID=51050 COMMENT='106,172,174'>'>>" ;
- strHTML += "</OBJECT><br>" ;
-
- /*
- * Maintain Aspect Ratio check box
- */
- strHTML += "<OBJECT ID='MaintainAspectCheck' WIDTH=13 HEIGHT=13" ;
- strHTML += "< CLASSID='CLSID:4FA211A0-FD53-11d2-ACB6-0080C877D9B9'>" ;
- strHTML += "<PARAM NAME='DisplayID' VALUE='file:/Resources/WorkflowsComponent|Common|stdgui.wkf'>" ;
- strHTML += "<PARAM NAME='DisplayStep' VALUE=50>" ;
- strHTML += "<PARAM NAME='DisplayIndex' VALUE=33>" ;
- strHTML += "<PARAM NAME='ButtonStyle' VALUE='TOGGLE'>" ;
- strHTML += "<PARAM NAME='StateDriverID' VALUE='file:/Resources/WorkflowsComponent|Common|PrintPreview.wkf'>" ;
- strHTML += "<PARAM NAME='StateDriverStep' VALUE=40>" ;
- strHTML += "<PARAM NAME='NumStates' VALUE=4>" ;
- strHTML += "<PARAM NAME='SoundIDClick' VALUE='ClickChoice'>" ;
- strHTML += "<PARAM NAME='EventID' VALUE='0'>>" ;
- strHTML += "</OBJECT>" ;
- strHTML += "<SPAN OnClick='MaintainAspectCheck.DoClick()' STYLE='cursor:default'>Maintain aspect ratio</SPAN>" ;
-
- /*
- * Copies int edit
- */
- strHTML += "<BR><BR><B>Number of copies</B><BR>" ;
- strHTML += "<OBJECT ID='MGIIntEdit' WIDTH=60 HEIGHT=24" ;
- strHTML += "< CLASSID='CLSID:9A3E8F60-FD83-11D2-ACB6-0080C877D9B9'>" ;
- strHTML += "<PARAM NAME='WorkflowID' VALUE='file:/Resources/WorkflowsComponent|Common|PrintPreview.wkf'>" ;
- strHTML += "<PARAM NAME='WorkflowStep' VALUE=50>>" ;
- strHTML += "</OBJECT><BR>" ;
-
- /*
- * Print Button
- */
- strHTML += "<BR><BR><TABLE width=100%><TR><TD align=center>" ;
- strHTML += "<OBJECT ID='MGIPrintButton' WIDTH=96 HEIGHT=41" ;
- strHTML += "< CLASSID='CLSID:4FA211A0-FD53-11d2-ACB6-0080C877D9B9'>" ;
- strHTML += "<PARAM NAME='DisplayID' VALUE='file:/Resources/WorkflowsComponent|Common|stdgui.wkf'>" ;
- strHTML += "<PARAM NAME='DisplayStep' VALUE=50>" ;
- strHTML += "<PARAM NAME='DisplayIndex' VALUE=80>" ;
- strHTML += "<PARAM NAME='DriverID' VALUE='{4FA211A7-FD53-11d2-ACB6-0080C877D9B9},PrintPreview,3109'>" ;
- strHTML += "<PARAM NAME='NumStates' VALUE=4>" ;
- strHTML += "<PARAM NAME='Label' VALUE='Print'>" ;
- strHTML += "<PARAM NAME='SoundIDHover' VALUE='HoverSmall'>" ;
- strHTML += "<PARAM NAME='SoundIDClick' VALUE='ClickSmall'>" ;
- strHTML += "<PARAM NAME='ToolTipString' VALUE='Print makeover'>" ;
- strHTML += "<PARAM NAME='BackgroundMoniker' VALUE='file:/" + top.gstrThemePath + top.gstrMenuImage + "'>>" ;
- strHTML += "</OBJECT>" ;
- strHTML += "</TD></TR></TABLE>" ;
-
- return strHTML ;
- }
-